import request from '@/utils/axios';

export interface PageVo {
  page: number;
  pageSize: number;
}

export function getReviewInfoPageApi(params: PageVo) {
  return request({
    url: '/getReviewInfoPage',
    method: 'get',
    params, // 将分页参数通过查询参数方式传递
  });
}
/**
 * 审核状态
 */
export interface ReviewUpdateVo{
  id:number,
  judgeStatus:number
}

export function updateReviewStatusApi(params:ReviewUpdateVo){
  return request({
    url:'/updateReviewStatus',
    method:'put',
    params,
  })
}